﻿using mscook.core.domain;
using System;
using System.Collections.Generic;
namespace mscook.core.services
{
    public interface IChefService
    {
        void SaveOrUpdate(Chef Chef);
        Chef Get(string id);
        IList<Chef> SelectPageList(int start, int limit, out long total);
        bool Delete(string id);
        IList<Chef> SelectListShowOnHome();
        IList<Chef> SelectLimitbyIds(IList<string> resourceIds, int start, int limit, out long total);
        IList<Chef> SelectPageList(int start, int limit, out long total, string chefName);
        IList<Chef> GetByKeyword(string keyword, int start, int limit, out long total);
        IList<Chef> SelectPageListByExpressions(int start, int limit, out long total, System.Linq.Expressions.Expression<Func<Chef, bool>> expression);
    }
}
